package cn.jg.framework.auth.model;

import cn.jg.framework.common.model.SimpleBaseModel;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author fanfever
 * @email fanfeveryahoo@gmail.com
 * @url https://github.com/fanfever
 * @date 2016年7月9日
 */

@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(value = Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserGroup extends SimpleBaseModel {

	/**
	 * 名称
	 */
	private String name;

	/**
	 * 员工数
	 */
	private Integer userCount;


	private List<User> userList;

}
